package com.nervenets.web.redis.domain;

import com.nervenets.web.redis.RedisDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * Created by joe on 17-3-14.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GlobalRule extends RedisDomain {
    private BigDecimal feeOfCheck = BigDecimal.valueOf(0.02);//核销费率

    @Override
    public String getKey() {
        return "GLOBAL_RULE";
    }

}
